<%@page contentType="text/html; charset=utf-8"%>
<%@ include file="/include/head.jsp"%>
<div class="pageHeader">
	<form rel="pagerForm" id="searchForm" onsubmit="return navTabSearch(this);" action="cygs/cygsPager.do?action=${action}&todo=${todo}" method="post">
		<div class="searchBar">
			<table class="searchContent">
				<tr>
					<td>
						创业公司名称:<input type="text" name="map.orgName_L" value="${pager.scMap.orgName_L}">
		      		</td>
				</tr>
			</table>
		 		<div class="subBar">
				<ul>
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div></li>
				</ul>
			</div>
		</div>
	</form>
</div>

<div class="panelBar">
	<ul class="toolBar"><!-- 
		<li><a class="add" href="user/user/toEdit/-99999999.do?funId=${funId}" target="navTab" rel="userEdit"><span>添加新用户</span></a></li> -->
		<li><a class="icon" href='javascript:exportExcel($("#searchForm",navTab.getCurrentPanel()), $("#pagerForm",navTab.getCurrentPanel()))' title="确实要导出这些记录吗?"><span>导出EXCEL</span></a></li>
		<li><a class="icon" href="javascript:$.printBox('w_list_print')"><span>打印</span></a></li>
	</ul>
</div>

<div layoutH="116" id="w_list_print">
	<table class="table" width="98%" targetType="navTab" asc="asc" desc="desc">
		<thead>
			<tr>
				<th width="30">No.</th>
				<th width="105" orderField="orgName" <c:if test='${pager.orderField=="orgName"}'>class="${param.orderDirection}"</c:if> >创业公司名称</th>
				<th width="75" orderField="areaId" <c:if test='${pager.orderField=="areaId"}'>class="${param.orderDirection}"</c:if> >所属行政区</th>
				<th width="75">发起人导师</th>
				<th width="75" orderField="contact" <c:if test='${pager.orderField=="contact"}'>class="${param.orderDirection}"</c:if> >联系方式</th>
				<th orderField="remark" <c:if test='${pager.orderField=="remark"}'>class="${param.orderDirection}"</c:if> >备注</th>
				<th width="75" orderField="approveStatus" <c:if test='${pager.orderField=="approveStatus"}'>class="${param.orderDirection}"</c:if> >审核状态</th>
				<th width="95">操作</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${pager.resultList}" var="item" varStatus="varStatus">
				<tr target="sid_${entity }" rel="${item.id}">
					<td align="right">${varStatus.count}</td>	
					<td><a target="navTab" href="cyzj/toCyzjEditor/${item.id}.do?todo=view&funId=${funId}" rel="cyzjEditor">${item.orgName}</a></td>
					<td>${Dict.getAlias('AREA',item.areaId)}</td>
					<td>${Dict.getAlias('DS_EMP',item.dsEmpId)}</td>		
					<td>${item.contact}</td>			
					<td>${item.remark}</td>
					<td><a title="审核日志" width="1200" hight="800" target="dialog" href="common/approveLogPager.do?entityType=cyzjOrg&entityId=${item.id}" rel="approveLogPagerDialog">${Dict.getAlias('APPROVE_STATUS',item.approveStatus)}</a></td>
					<td>
					    <a title="修改创业公司" target="navTab" href="cygs/toCygsEditor/${item.id}.do?action=edit&todo=submit&funId=${funId}" rel="cyzjEditor">编辑</a>&nbsp;&nbsp;
						<a title="审核创业公司" target="navTab" href="cygs/toCygsEditor/${item.id}.do?action=view&todo=approve&funId=${funId}" rel="cyzjEditor">审核</a>
						<a title="预览创业公司" target="_blank" href="m/cyzjDetail.do?id=${item.id}" >预览</a>
					</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
</div>
<jsp:include page="../include/pagerDiv.jsp" flush="true" />